package br.com.chat.model;

import java.io.Serializable;
import java.net.Socket;
import java.util.List;


public class Cliente implements Serializable{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 3292238885714956892L;
	private List<Usuario> listaContatos;
	private String nickname;
	private String email;
	private Usuario informacaoCliente;
	private Socket socket;

    public void setSocket(Socket socket) {
        this.socket = socket;
    }
	private Integer id;
        
	public Integer getId() {
		return id;
	}
	
	public void setId(Integer id) {
		this.id = id;
	}
	
	public Cliente(Socket socket){
		this.socket = socket;
	}
        public Cliente(){
            super();
	}
        
        public String getEmail() {
            return email;
        }

        public void setEmail(String email) {
            this.email = email;
        }

        public String getNickname() {
            return nickname;
        }

        public void setNickname(String nickname) {
            this.nickname = nickname;
        }
	public Socket getSocket() {
		return socket;
	}
	public List<Usuario> getListaContatos() {
		return listaContatos;
	}
	public void setListaContatos(List<Usuario> listaContatos) {
		this.listaContatos = listaContatos;
	}
	public Usuario getInformacaoCliente() {
		return informacaoCliente;
	}
	public void setInformacaoCliente(Usuario informacaoCliente) {
		this.informacaoCliente = informacaoCliente;
	}

	@Override
	public String toString() {
		return "Cliente [listaContatos=" + listaContatos + ", nickname="
				+ nickname + ", email=" + email + ", informacaoCliente="
				+ informacaoCliente + ", socket=" + socket + ", id=" + id + "]";
	}
}
